package com.evry.sandox.batch.bulletproof;

import org.springframework.batch.core.annotation.OnSkipInWrite;

import com.evry.sandox.batch.exceptions.DepotWebServiceException;


public class WebServiceSkipListener {
	
	@OnSkipInWrite
	public void log(Object o, Throwable t) {
		if(t instanceof DepotWebServiceException){
			System.err.println("exception:" + t.toString());
		}
	}
}